import request from '@/tools/request'

/**
 * 新增
 */
export function insert(query) {
    return request({
        url: '/intercept/thirdparty/contract/limscontract/insert',
        method: 'post',
        params: query
    })
}
/**
 * 获取最大编码
 */
export function searchmaxcode(query) {
    return request({
        url: '/intercept/thirdparty/contract/limscontract/searchmaxcode',
        method: 'post',
        params: query
    })
}
/**
 * 根据合同主键查询
 */
export function searchbyid(query) {
    return request({
        url: '/intercept/thirdparty/contract/limscontract/searchbyid',
        method: 'post',
        params: query
    })
}
/**
 * 修改接口
 */
export function edit(query) {
    return request({
        url: '/intercept/thirdparty/contract/limscontract/edit',
        method: 'post',
        params: query
    })
}
/**
 * 查询委托单位
 */
export function searchforwx(query) {
    return request({
        url: '/intercept/thirdparty/system/limscustomer/searchforwx',
        method: 'post',
        params: query
    })
}
/**
 *提交
 */
export function submit(query) {
    return request({
        url: '/intercept/thirdparty/contract/limscontract/submit',
        method: 'post',
        params: query
    })
}







